#include<iostream>

using namespace std;

int main()
{
    int a, b; cin >> a >> b;
    if (!b) cout << a << "/" << b << "=" << "Error" << endl;
    else if (b < 0) printf("%d/(%d)=%.2f\n", a, b, a / (float)b);
    else printf("%d/%d=%.2f\n", a, b, a / (float)b);
    return 0;
}